package zy1208.zy13;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.lang.reflect.Method;
import java.util.List;

public class demo {
    public static void main(String[] args) throws Exception {
        List<String> lines = FileUtils.readLines(new File("D:\\ideadashuju12\\liu_ya_kai\\src\\zy1208\\zy13\\t.properties"));
        for (String line : lines) {
            Class<?> aClass = Class.forName(line);
            Method run = aClass.getDeclaredMethod("run");
            Object o = aClass.newInstance();
            run.invoke(o);
        }
    }
}
